#m-item-view {
    overflow: hidden;

    .w-item,
    .w-post {
        box-sizing: border-box;
    }

    .w-item {
        @panel-width: 380px;
        .mb(10px);

        .w-left {
            .fl;
            .w(@panel-width);
        }

        .w-right {
            margin-left: @panel-width;

            .m-other-fields {
                margin: 0;
                padding: 0;
                font-size: 13px;
                list-style: none;
                overflow: hidden;

                li {
                    .fl;
                    .w(33.33333333%);
                    margin: 5px 0;
                    padding-right: 15px;
                    box-sizing: border-box;

                    @media screen and (max-width: @ipad) {
                        .w(50%);
                    }
                }
            }
        }

        @media screen and (max-width: @ipad) {
            .w-left {
                float: none;
                .w(100%);
            }

            .w-right {
                .mt(15px);
                .ml(0);
            }
        }
    }

    .m-tabs {
        .pr;
        border: 1px solid #eeeeee;
        border-radius: 5px;
        font-size: 14px;
        overflow: hidden;

        .el-tabs {
            .pr;
            border: none;
            box-shadow: none;
            z-index: 10;

            .el-tabs__nav {
                .fr;

                .el-tabs__item {
                    .ml(0);
                    .mr(-1px);
                }
            }
        }
    }

    .m-price-server {
        .pa;
        top: 5px;
        left: 10px;
        z-index: 20;

        i {
            font-size: 20px;
            .y;
        }
    }

    .w-post {
        .mt(10px);
    }

    .m-item-viewer {
        margin: 0;
        padding: 10px;
        background-color: #fafbfc;
        border: 1px solid #eeeeee;
        border-radius: 5px;
        overflow: hidden;

        .u-name.white {
            color: @color !important;
        }
    }

    .m-name {
        .mb(10px);
        .pb(10px);
        border-bottom: 1px solid #dddddd;
        overflow: hidden;

        .u-item-icon,
        .u-name {
            .dbi;
            vertical-align: middle;
        }

        .u-name {
            margin: 0 0 0 10px;
        }

        .m-buttons {
            .u-collect {
                padding: 9px 15px;
            }

            .el-button {
                .u-el-icon,
                .u-text {
                    vertical-align: middle;
                }
            }
        }
    }

    .m-item-post {
        margin-top: 5px;

        .m-head {
            .u-title {
                .u-icon {
                    width: 20px;
                    height: 20px;
                    margin-right: 5px;
                    vertical-align: middle;
                    fill: #555;
                }

                span {
                    font-size: 14px;
                    // font-weight: 300;
                    vertical-align: middle;
                }
            }

            .u-publish {
                padding: 8px 10px;
                // margin-top: 9px;
                // margin-right: 15px;
                font-size: 12px;
                // .fr;
                .pa;.rt(5px);
            }
        }

        .m-body {
            padding: 15px;
        }

        .content {
            word-break: break-all;
            line-height: 1.6em;

            b,
            strong {
                font-weight: bold;
            }
        }

        .other {
            margin: 20px auto 0;
            padding-top: 9px;
            font-size: 12px;
            color: #888888;
            overflow: hidden;

            .avatar {
                float: left;
                border-radius: 100%;
                overflow: hidden;
                width: 32px;
                height: 32px;
                margin: -8px 10px 1px 0;
                box-shadow: 1px 1px 2px #aaaaaa;
            }

            .done {
                float: left;

                a:not([href]) {
                    color: #3d454d;
                }
            }

            .updated {
                float: left;
                margin-left: 5px;
            }

            .remark,
            .comment {
                float: right;
                margin-left: 8px;
            }

            .remark {
                opacity: 0.7;
            }

            .comment {
                display: block;
                color: #0366d6;
            }
        }

        .c-comments {
            margin-top: 15px;
            margin-left: -15px;
            margin-right: -15px;

            .title {
                padding: 6px 12px;
                color: #ffffff;
                background-color: #cccccc;

                .u-icon {
                    width: 16px;
                    height: 16px;
                }
            }

            .comments {
                padding-left: 15px;
                list-style: none;

                .comment {
                    padding: 10px 0;
                    border-bottom: 1px solid #eeeeee;
                    overflow: hidden;
                }

                .left {
                    width: 60px;
                    float: left;
                }

                .right {
                    margin-left: 60px;
                }

                .avatar {
                    width: 48px;
                    height: 48px;
                }

                .content {
                    margin-top: 5px;
                    opacity: 0.8;
                }
            }

            & > .comments {
                padding: 8px 15px;
            }
        }
    }

    .histories {
        width: 100%;
        opacity: 0.8;

        th,
        td {
            padding: 8px 10px;
            font-weight: normal;
        }

        th {
            border-bottom: 2px solid #dddddd;
        }

        td {
            border-bottom: 1px solid #dddddd;
        }

        tr:last-child td {
            border-bottom: none;
        }
    }
}

@media screen and (max-width: @ipad) {
    #m-item-view {
        .w-item,
        .w-post {
            margin-left: 0;
            margin-right: 0;
            padding-left: 0;
            padding-right: 0;
            border-right: none;
        }

        .w-post {
            margin-top: 10px;
        }

        .m-item-post {
            img {
                height: auto;
            }

            .other {
                position: relative;
                padding-top: 0;

                .avatar {
                    position: absolute;
                    left: 0;
                    top: 0;
                    margin: 1px 10px 0 0;
                }

                .updated {
                    width: 100%;
                    text-align: right;
                    margin-left: 0;
                    margin-bottom: 5px;
                }

                .done {
                    width: 100%;
                    margin-bottom: 5px;
                    text-align: right;
                }
            }

            .c-comments {
                .comments {
                    padding-left: 5px;
                }

                & > .comments {
                    padding: 8px 15px;
                }
            }
        }
    }
}

@media screen and (max-width:@phone){
    #m-item-view{
        .m-tabs{
            .m-price-server{
                .pr;
            }
            .el-tabs__header{
                .none;
            }
        }
    }
}

.m-thx {
    .mt(20px);
}